#include "LuaLink_SceneManager.h"

LuaLink_SceneManager* LuaLink_SceneManager::INSTANCE = NULL;

LuaLink_SceneManager::LuaLink_SceneManager(Ogre::SceneManager* manager, Ogre::RenderWindow* window) {
	this->mSceneManager = manager;
	this->mWindow = window;
	INSTANCE = this;
}

LuaLink_SceneManager::~LuaLink_SceneManager(void) {
	
}

void LuaLink_SceneManager::lua_screenshot(const char *file) {
	mWindow->writeContentsToFile(file);
}

void LuaLink_SceneManager::lua_setWorldGeometry(const char *file) {
	mSceneManager->setWorldGeometry(file);
}
